ProgramList element. More...
#include <vsteditcontroller.h>
Public Member Functions | |
ProgramList (const String128 name, ProgramListID listId, UnitID unitId) | |
ProgramList (const ProgramList &programList) | |
const ProgramListInfo & | getInfo () const |
ProgramListID | getID () const |
const TChar * | getName () const |
int32 | getCount () const |
virtual tresult | getProgramName (int32 programIndex, String128 name) |
virtual tresult | setProgramName (int32 programIndex, const String128 name) |
virtual tresult | getProgramInfo (int32 programIndex, CString attributeId, String128 value) |
virtual tresult | hasPitchNames (int32 programIndex) |
virtual tresult | getPitchName (int32 programIndex, int16 midiPitch, String128 name) |
virtual int32 | addProgram (const String128 name) |
Adds a program to the end of the list. | |
virtual bool | setProgramInfo (int32 programIndex, CString attributeId, const String128 value) |
Sets a program attribute value. | |
virtual Parameter * | getParameter () |
Creates and returns the program parameter. | |
Data Fields | |
OBJ_METHODS(ProgramList, FObject) protected UnitID | unitId |
TArray< String > | programNames |
TArray< TDictionary< String, String > > | programInfos |
Parameter * | parameter |
ProgramList element.
ProgramList | ( | const String128 | name, | |
ProgramListID | listId, | |||
UnitID | unitId | |||
) |
ProgramList | ( | const ProgramList & | programList | ) |
const ProgramListInfo& getInfo | ( | ) | const [inline] |
ProgramListID getID | ( | ) | const [inline] |
const TChar* getName | ( | ) | const [inline] |
int32 getCount | ( | ) | const [inline] |
Reimplemented in ProgramListWithPitchNames.
virtual tresult getPitchName | ( | int32 | programIndex, | |
int16 | midiPitch, | |||
String128 | name | |||
) | [inline, virtual] |
Reimplemented in ProgramListWithPitchNames.
Adds a program to the end of the list.
returns the index of the program.
Reimplemented in ProgramListWithPitchNames.
Sets a program attribute value.
Parameter * getParameter | ( | ) | [virtual] |
Creates and returns the program parameter.
OBJ_METHODS (ProgramList, FObject) protected UnitID unitId |
TArray<String> programNames |
TArray<TDictionary<String, String> > programInfos |